//
//  CalendarPageView.h
//  FindJob
//
//  Created by apple on 16/3/9.
//  Copyright © 2016年 Lee. All rights reserved.
//

#import <UIKit/UIKit.h>

@class CalendarPageView;
@protocol CalendarPageViewDelegate <NSObject>

- (void)calendarPageView:(CalendarPageView *)pageView didSelectedDate:(NSDate *)date;

@end


@interface CalendarPageView : UIView
@property (nonatomic, weak) id <CalendarPageViewDelegate> delegate;

@property (nonatomic, strong) NSDate *selectedDate;
@property (nonatomic, strong) NSDate *curretDisplayDate;
@property (nonatomic, strong) NSArray *chineseDays;   /** 每天的表示 */
@property (nonatomic, strong) NSArray *chineseMoths; /** 月份表示数组 */

- (instancetype)initWithFrame:(CGRect)frame date:(NSDate *)date;
- (NSDate *)dateOfLastMonth;
- (NSDate *)dateOfNextMonth;
@end
